projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
813b065
)
(Fdaemon_initialized): Initialize nfd.
author
Chong Yidong
<cyd@stupidchicken.com>
Wed, 29 Oct 2008 18:03:03 +0000
(18:03 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Wed, 29 Oct 2008 18:03:03 +0000
(18:03 +0000)
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index d707f4f758df1fa1e8ec8012c4eca4d89e7f28b5..6045d0c962338416543317528db9ccf099c775fa 100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-2467,7
+2467,7
@@
from the parent process and its tty file descriptors. */)
error ("This function can only be called after loading the init files");
/* Get rid of stdin, stdout and stderr. */
- open ("/dev/null", O_RDWR);
+
nfd =
open ("/dev/null", O_RDWR);
dup2 (nfd, 0);
dup2 (nfd, 1);
dup2 (nfd, 2);